#pragma once
#include "Student.h"
#include "iostream"
class SysManager
{
public:
	void showMenu();
	void showStuInfo(vector<Student>& stu);
	void addStudent(vector<Student>& stu);
	void modifyStudent(vector<Student>& stu);
	bool findId(vector<Student>& student, unsigned int id);
	bool findName(vector<Student>& student, string name);
	bool modifyStuById(vector<Student>& student , Student& stu);
	bool modifyStuByName(vector<Student>& student , Student& stu);
	bool delStuById(vector<Student>& student,unsigned int id);
	bool delStuByName(vector<Student>& student, string name);
	void clearStudent(vector<Student>& student);

private:
	int mum;
};


